

cc.Class({
    extends: cc.Component,

    properties: {
  
    },

    touchClick: function () {
        console.log('点击空白处');
       
      },
    
      onEnable: function () {
        this.node.on('touchstart', this.touchClick, this);
        
      },
    
      onDisable: function () {
        this.node.off('touchstart', this.touchClick, this);
      },

    start () {

    },

    // update (dt) {},
});
